Delay
Here, we look at the DelayNode in the Web Audio API. We give four examples;
- Comb filter: simple summing of a source and a delayed copy to produce comb filtering
- Vibrato: implementation of a Vibrato effect, by modulating a delay line with a low frequency oscillator
- Feedback delay: basic delay with feedback. The source is a short burst of a 2kHz tone
- Karplus-Strong: the Karplus-Strong algorithm for producing the sound of a plucked string.
This also demonstrates a limitation of the DelayNode when used in a feedback loop.
Code examples correspond to examples from Chapter 10 the book 'Working with the Web Audio API'.
Feel free to contact me at joshua.reiss@qmul.ac.uk